package com.such.kit.io.sqlprovider;

import java.util.Map;
import com.such.kit.io.support.IOSqlProvider;

public class DefaultIOSqlProvider implements IOSqlProvider {

	@Override
	public String getSql(String sqlKey, Map<String, Object> param) {
		String sql = sqlKey;
		if ("test".equals(sqlKey)) {
			sql = test();
		}
		return sql;
	}

	private String test() {
		return "select ACCOUNT_NUMBER as field1, REPORT_STATUS as field2, DIS_BANK_ID as field3 from CRS_ACCOUNT_INFO where rownum <= 100";
	}

}
